/**
 * @(#)FoodRecomendCreateRequest.java
 *
 * Copyright (c) 2014-2014  苏州犀牛网络科技有限公司 版权所有
 * xiniunet. All rights reserved.
 *
 * This software is the confidential and proprietary
 * information of  xiniunet.
 * ("Confidential Information"). You shall not disclose
 * such Confidential Information and shall use it only
 * in accordance with the terms of the contract agreement
 * you entered into with xiniunet.
 */
package net.showcal.api.request.mobile;

import net.showcal.api.ApiRuleException;
import net.showcal.api.XiniuRequest;
import net.showcal.api.internal.util.XiniuHashMap;
import net.showcal.api.response.mobile.FoodRecomendCreateResponse;

import java.util.Map;


/**
 * Created by 顾志雄 on 2015-11-03 11:23:07.
 * @author 顾志雄
 */
public class FoodRecomendCreateRequest implements XiniuRequest<FoodRecomendCreateResponse> {

    private XiniuHashMap udfParams = new XiniuHashMap();
    @Override
    public String getApiMethodName() {
        return "thermalcontrol.foodRecomend.create";//创建推荐食物
    }

    @Override
    public Map<String, String> getTextParams() {
        XiniuHashMap txtParams = new XiniuHashMap();

        txtParams.put("mealId", this.mealId);
        txtParams.put("foodId", this.foodId);
        txtParams.put("foodName", this.foodName);
        txtParams.put("thernalUnit", this.thernalUnit);
        txtParams.put("unit", this.unit);
        txtParams.put("priority", this.priority);
        txtParams.put("pictId", this.pictId);
        txtParams.put("materelId", this.materelId);
        txtParams.put("materelSmClassid", this.materelSmClassid);

        if (this.udfParams != null) {
            txtParams.putAll(this.udfParams);
        }
        return txtParams;
    }

    @Override
    public Long getTimestamp() {
        return null;
    }

    @Override
    public void setTimestamp(Long timestamp) {

    }

    @Override
    public Class<FoodRecomendCreateResponse> getResponseClass() {
        return FoodRecomendCreateResponse.class;
    }

    @Override
    public void check() throws ApiRuleException {

    }

    @Override
    public Map<String, String> getHeaderMap() {
        return null;
    }

    @Override
    public void putOtherTextParam(String key, String value) {
        this.udfParams.put(key, value);
    }

    /**
     * 餐次ID 
     */
    private  Long   mealId;
    
    /**
     * 食物ID 
     */
    private  String   foodId;
    
    /**
     * 食物名称 
     */
    
    private  String   foodName;
    
    /**
     * 单位热量 
     */
    
    private  String   thernalUnit;
    
    /**
     * 单位 
     */
    
    private  String   unit;
    
    /**
     * 优先级 
     */
    
    private  String   priority;
    
    /**
     * 图片URL 
     */
    
    private  Long   pictId;
    
    /**
     * 物料ID 
     */
    private  String   materelId;
    
    /**
     * 物料小类ID 
     */

    private  String   materelSmClassid;



    public Long getMealId() {
    return this.mealId;
    }

    public void setMealId(Long  mealId) {
    this.mealId = mealId;
    }

    public String getFoodId() {
    return this.foodId;
    }

    public void setFoodId(String  foodId) {
    this.foodId = foodId;
    }

    public String getFoodName() {
    return this.foodName;
    }

    public void setFoodName(String  foodName) {
    this.foodName = foodName;
    }

    public String getThernalUnit() {
    return this.thernalUnit;
    }

    public void setThernalUnit(String  thernalUnit) {
    this.thernalUnit = thernalUnit;
    }

    public String getUnit() {
    return this.unit;
    }

    public void setUnit(String  unit) {
    this.unit = unit;
    }

    public String getPriority() {
    return this.priority;
    }

    public void setPriority(String  priority) {
    this.priority = priority;
    }

    public Long getPictId() {
    return this.pictId;
    }

    public void setPictId(Long  pictId) {
    this.pictId = pictId;
    }

    public String getMaterelId() {
    return this.materelId;
    }

    public void setMaterelId(String  materelId) {
    this.materelId = materelId;
    }

    public String getMaterelSmClassid() {
    return this.materelSmClassid;
    }

    public void setMaterelSmClassid(String  materelSmClassid) {
    this.materelSmClassid = materelSmClassid;
    }


}
